home *** CD-ROM | disk | FTP | other *** search
- Iain Colledge (iainc@imc-a1.demon.co.uk) wrote:
- | Anyone,
-
- | I want to write an AREXX script to generate envelopes for lens flares / light intensity
- | and object dissolves for the exhaust plumes on spaceship engines, as I am fed up with
- | trying to do them by hand.
-
- | Basically what I want to do is have my script read the motion path for my ship and
- | work out which engines should fire to get it to go to the next frame position (The ship has
- | the same sort of arrangement as a B5 Star Fury). The real bit I am stuck on is the how
- | the splines work as I don't want to create a keyframe for every frame (SCREAM).
-
- | Can anyone send me the info on how lightwave calculates the XYZ, HPB values from keyframe
- | to keyframe.
-
- | Iain Colledge
-
- if you save out a motion file, and take a look at it (hit the object
- motion button, and save the motion file) you should see how LW does its
- thing.
-
- the file goes something like this (from memory)
- -------------------------------------------------
- 1 (reserved LW version identifier)
- 9 (number of data elements per keyframe)
- 5 (number of keyframes)
- x y z heading pitch bank xsize ysize zsize
- frame# Linear_Motion tension continuity bias
- -------------------------------------------------
-
- the last two lines repeat for every keyframe of the object in question.
-
- do you think that I should put this in the Magazine (LightSmith)
-
- kinda neat I guess.
-
- Chris Alexander - Editor LightSmith the magazine
-
-
-
-
- --
- ---------------------------------------------------------------------------
- | LightSmith -the magazine -- Lightwave 3D Tutorials,
- | Hints, and Solutions
- All opinions are| ASK FOR DETAILS from the Experts in the
- mine, and should| IF INTERESTED feild.
- conflict |
- minimaly |----------------------------------------------------------
- with reality!
- ---------------------------------------------------------------------------
-
-
-
-